﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace BaicaiTianqi.Model
{
    public class IconList
    {
        public static string getIconUri(int icon)
        {
            switch (icon)
            {
                case 0:
                    return "/WeatherLogo/sunny.png";
                case 1:
                    return "/WeatherLogo/mostly_cloudy.png";
                case 2:
                    return "/WeatherLogo/overcast.png";
                case 3:
                case 7:
                case 8:
                case 9:
                case 10:
                case 19:
                case 21:
                case 22:
                case 23:
                    return "/WeatherLogo/rain.png";
                case 4:
                case 5:
                    return "/WeatherLogo/thunderstorm.png";
                case 6:
                    return "/WeatherLogo/sleet.png";
                case 11:
                case 12:
                case 24:
                case 25:
                    return "/WeatherLogo/heavyrain.png";
                case 13:
                case 14:
                case 15:
                case 16:
                case 26:
                case 27:
                case 28:
                    return "/WeatherLogo/snow.png";
                case 17:
                    return "/WeatherLogo/icy.png";
                case 18:
                    return "/WeatherLogo/fog.png";
                case 20:
                case 29:
                case 30:
                case 31:
                    return "/WeatherLogo/dust.png";
                default:
                    return "/WeatherLogo/partly_cloudy.png";
            }
        }
    }
}
